// components/modal/modal.js
Component({

  /**
   * 页面的初始数据
   */
  data: {

  },

  properties: {
    title: String,

  },

  methods: {
    onTapShadow: function (e) {
      const {currentTarget:{dataset:{modal}}} = e
      console.log(modal, '===');
      if (modal === 'modal-outter') {
        this.triggerEvent('hideshadow',{hide: false})
      }
    }
  }

})